
import request from '@/common/request/request.js'
import {
	stringFormat,
	toQueryString
} from '../utils/util.js' //组件用正则 过滤传递的参数

const GET = 'GET'
const POST = 'POST'
const PUT = 'PUT'
const DELETE = 'DELETE'


export function checkUserTodyIsCheckin(data) {
	return request(data, "/dayVisa/userVisaType", GET).then(res => res)
}

export function getDailyCheckinInfo(data) {
  return request(data, "/dayVisa/visaDetail", GET).then(res => res)
}

export function checkinDaily(data) {
 	return request(data, "/dayVisa/add", POST).then(res => res)
 }
